import layout from '@/layout'
export default {
  path: '/content',
  component: layout,
  meta: { title: "内容管理", icon: "dashboard" },
  name: "ydd_content",
  redirect: '/content_cate',
  children: [
    {
      path: "/content_cate",
      component: () => import('@/views/content/cate/index.vue'),
      name: "ydd_cate",
      meta: { title: "分类管理", icon: "dashboard" }
    },
    {
      path: "/content_tag",
      component: () => import('@/views/content/tag/index.vue'),
      name: "ydd_tag",
      meta: { title: "标签管理", icon: "dashboard" }
    },
    {
      path: "/content_article",
      component: () => import('@/views/content/article/index.vue'),
      name: "ydd_article",
      meta: { title: "文章管理", icon: "dashboard" }
    },
    {
      path: "/content_article/add",
      component: () => import('@/views/content/article/info.vue'),
      name: "content_article_add",
      meta: { title: "添加文章", icon: "dashboard" },
      hidden: true
    },
    {
      path: "/content_article/edit/:id",
      component: () => import('@/views/content/article/info.vue'),
      name: "content_article_edit",
      meta: { title: "修改文章", icon: "dashboard" },
      hidden: true
    }
  ]
}